﻿<UserControl x:Class="SimlvClient.Pages.FTP"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Style="{StaticResource ContentRoot}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition MinWidth="120"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="16" />
            <RowDefinition Height="30"/>
            <RowDefinition  Height="30"/>
            <RowDefinition  Height="30"/>
            <RowDefinition  Height="30"/>
        </Grid.RowDefinitions>
        <ProgressBar Minimum="0" Grid.Row="0" Name="IsBusy" Visibility="Hidden"  Maximum="1" Height="16" IsIndeterminate="True"  Margin="0,0,0,0" >
        </ProgressBar>
        <TextBlock Text="FTP 地址:"  Grid.Row="1"  VerticalAlignment="Center" Margin="5,0,16,0" />
        <TextBlock Grid.Column="1" Grid.Row="1" Name="FtpAddress"  Text="ftp.free3v.net" VerticalAlignment="Center" Margin="5,0,16,0" />

        <TextBlock Grid.Row="2" Text="FTP 用户:" VerticalAlignment="Center" Margin="5,0,16,0" />
        <TextBlock Grid.Row="2" Name="FtpUser" Text="ftptest1" Grid.Column="1"  VerticalAlignment="Center" Margin="5,0,16,0" />
        <Button Name="BtnAll"  Click="Button_Click_1"  Grid.Row="3" Grid.Column="0"  Margin="5,0,0,0" Content="全站生成" HorizontalAlignment="Left"  VerticalAlignment="Top"/>
        <Button Name="BtnPart"  Click="Button_Click_2"  Grid.Row="3" Grid.Column="1"  Margin="5,0,0,0" Content="部分生成" HorizontalAlignment="Left"  VerticalAlignment="Top"/>
        <TextBlock Text="需要更新:" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" Margin="5,0,0,0" />
        <TextBlock Text="0" x:Name="Count" Grid.Row="4"  Grid.Column="1" VerticalAlignment="Center" Margin="0,0,0,0"  />
    </Grid>
</UserControl>
